home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 4
/
Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso
/
Pearls
/
util
/
misc
/
CyberCron
/
Source
/
smakefile
< prev
next >
Wrap
Makefile
|
1992-10-07
|
1KB
|
61 lines
# smakefile for CyberCron
# Copyright © 1992 by Christopher A. Wichura (caw@miroc.chi.il.us)
# All rights reserved.
PROGNAME = CyberCron
DEBUG = symbol
HDR = $(PROGNAME).gst
CFLAGS = debug=$(DEBUG) nostkchk strmerge parms=reg optimize gstimm utillib
LFLAGS = smallcode smalldata
OBJS = startup.o CyberCron.o DoMsg.o CyberCronStrings.o wb2cli.o
LIBS = LIB:amiga.lib LIB:sc.lib LIB:debug.lib
.c.o:
Copy $*.c $*.c.bak
Indent $*.c.bak $*.c
sc $(CFLAGS) gst=$(HDR) $*
.a.o:
ASM -iINCLUDE: $*
.cd.h:
CatComp $*.cd CFILE $*.h
.cd.o:
CatComp $*.cd OBJFILE $*.o
# build the stripped load file
$(PROGNAME): $(PROGNAME).ld
slink from $(PROGNAME).ld to $(PROGNAME) stripdebug
# build a load file with the debugging info still present
$(PROGNAME).ld: $(OBJS) version.o smakefile
slink with lib:utillib.with <with < (CyberCron.lnk)
FROM $(OBJS) version.o
TO $(PROGNAME).ld
LIB $(LIBS)
$(LFLAGS)
ADDSYM
MAP $(PROGNAME).map fhlsx plain
<
##############################################################################
# make target for reference from the command line that causes
# the revision number to be bumped up
version:
UpCVersion $(PROGNAME) version.o
smake
##############################################################################
# dependancies for various objects
$(HDR): CyberCron.h CyberCronStrings.h smakefile
sc $(CFLAGS) noobjname makegst=$(HDR) CyberCronSyms
CyberCron.o: CyberCron.c $(HDR)